package zara

class HourRate {
    Integer hour
    Integer rate // 比率

  
    static belongsTo = [website:Website]

  
    static constraints = {
        hour(range:0..24,blank:false )
        rate(blank:false)
        website(nullable: true)
    }
static mapping = {
		sort "hour"
	}

    String toString(){
        "${hour},${rate}"
    }
}
